package console;

import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;

public class Main {
	public static void main(String[] args) throws IOException{
		//reader the console
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		//reader for a file
		BufferedReader br2 = new BufferedReader(new InputStreamReader(new FileInputStream("filename here")));
		//writer to the console
		BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));
		//writer for a file 
		BufferedWriter bw2 = new BufferedWriter(new OutputStreamWriter(new FileOutputStream("res/out.txt")));
		String in = br.readLine();
		while(in != null){	
			bw.write(in + "\n");
			
			in = br.readLine();
		}
		//bw.flush();
	}
}
